﻿using Share;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace System.WXT.Domain
{
    /// <summary>
    /// 工人列表
    /// </summary>
    [Table("Worker")]
    public class Worker: Audit
    {
        /// <summary>
        /// 工人列表ID
        /// </summary>
        [Key]
        public int workerId { get; set; }
        /// <summary>
        /// 工人编号
        /// </summary>
        public string? workerNumbering { get; set; }
        /// <summary>
        /// 工人姓名
        /// </summary>
        public string? workerName { get; set; }
        /// <summary>
        /// 联系方式
        /// </summary>
        public string? workerPhone { get; set; }
        /// <summary>
        /// 性别
        /// </summary>
        public string? workerSex { get; set; }
        /// <summary>
        /// 班组
        /// </summary>
        public string? workerTeam { get; set; }
        /// <summary>
        /// 部门
        /// </summary>
        public string? workerDepartment { get; set; }
        /// <summary>
        /// 状态
        /// </summary>
        public string? workerState { get; set; }
        /// <summary>
        /// 工人列删除
        /// </summary>
        public int workerIsDel { get; set; }
    }
}
